package com.ev.hr.service;

import com.ev.framework.utils.R;
import com.ev.hr.domain.SalaryFormulaMainDO;
import com.ev.hr.vo.SalaryFormulaMainPageParam;
import com.ev.hr.vo.SalaryFormulaVO;

import java.util.List;
import java.util.Map;

/**
 * 计算公式方案主表
 * 
 * @author ev-monitor
 * @email 286600136@qq.com
 * @date 2020-05-06 10:32:23
 */
public interface SalaryFormulaMainService {
	
	SalaryFormulaMainDO get(Long id);
	
	List<SalaryFormulaMainDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SalaryFormulaMainDO salaryFormulaMain);
	
	int update(SalaryFormulaMainDO salaryFormulaMain);

	int updateAll(SalaryFormulaMainDO salaryFormulaMain);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	R saveAndVerify(SalaryFormulaVO saveParam);

	Map<String, Object> pageList(SalaryFormulaMainPageParam pageParam);

	Map<String, Object> getById(Long id);

	R removeByIds(List<Long> ids);
}
